import {QMFetch} from 'qm-ux'
/**
 * 获取配置信息
 */
export const getSetups = () => QMFetch({url: '/afterSale/tool', method: 'GET'})
/**
 * 更新基本配置信息
 */
export const saveBasicSetup = (params) => QMFetch({url: '/afterSale/tool', method: 'POST', body: params})
/**
 * 更新售后退货填写项
 */
export const saveOptionSetup = (params) => QMFetch({url: '/afterSale/tool/option', method: 'POST', body: params})